package com.qf.admin.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.admin.domain.form.UserForm;
import com.qf.common.domain.admin.dos.SysUser;
import com.qf.common.domain.admin.vo.UserPageVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author sin
* @description 针对表【sys_user(用户信息表)】的数据库操作Service
* @createDate 2024-10-12 16:52:40
*/
public interface SysUserService extends IService<SysUser> {

    SysUser selectUserByUsername(String username);

    List<UserPageVO> getUserPage(String username, String mobile, Integer status);

    boolean updateUser(UserForm userForm);

    boolean saveUser(UserForm userForm);

    boolean uploadAvatar(MultipartFile avatar, Long userId);

    boolean resetPassword(SysUser user);

}
